package com.zndroid.gridview.inner.drag;

/**
 * 轨迹跟踪
 * */
public interface OnItemTrackListener {
    /**
     * the original raw X/Y coordinate of this event. For touch events on the screen,
     * this is the original location of the event on the screen,
     * before it had been adjusted for the containing window and views.
     *
     * @param rawX raw x
     * @param rawY raw y
     * */
    void onRawTrajectory(float rawX, float rawY);

    /**
     * the first pointer index (may be an arbitrary pointer identifier)
     * @param x x
     * @param y y
     * */
    void onTrajectory(float x, float y);
}
